package com.example.service.test.impl.test;

import com.example.exception.common.CustomerException;
import com.example.service.test.ErrorAspectTestService;
import org.springframework.stereotype.Service;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/10/17 9:33
 */
@Service
public class ErrorAspectTestServiceImpl implements ErrorAspectTestService {
    @Override
    public void makeAnErrot() throws Exception{
        throw new CustomerException("异常");
    }
}
